<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>QComboBox Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">QComboBox Class Reference</h1>
<h3 align="center">[<a href="qt_widgets.html">qt.widgets</a> package]</h3>
<p>Inherits <a href="qwidget.html">QWidget</a>.</p>
<h3>Constructor</h3>
<ul>
<li><div class="fn"/><b>void QComboBox(QWidget parent)</b></li>
</ul>
<h3>Constructor Properties</h3>
<ul>
<li><b>prototype</b>: The QComboBox prototype object</li>
<li><b>NoInsert</b></li>
<li><b>InsertAtTop</b></li>
<li><b>InsertAtCurrent</b></li>
<li><b>InsertAtBottom</b></li>
<li><b>InsertAfterCurrent</b></li>
<li><b>InsertBeforeCurrent</b></li>
<li><b>InsertAlphabetically</b></li>
<li><b>InsertPolicy( value )</b></li>
<li><b>AdjustToContents</b></li>
<li><b>AdjustToContentsOnFirstShow</b></li>
<li><b>AdjustToMinimumContentsLength</b></li>
<li><b>AdjustToMinimumContentsLengthWithIcon</b></li>
<li><b>SizeAdjustPolicy( value )</b></li>
</ul>
<h3>Prototype Object Properties</h3>
<p>The QComboBox prototype object inherits properties from the <a href="qwidget.html">QWidget</a> prototype object and also has the following properties.</p>
<ul>
<li><div class="fn"/><b>void addItem(QIcon icon, String text, Object userData)</b></li>
<li><div class="fn"/><b>void addItems(List texts)</b></li>
<li><div class="fn"/><b>QCompleter completer()</b></li>
<li><div class="fn"/><b>int findData(Object data, int role, MatchFlags flags)</b></li>
<li><div class="fn"/><b>int findText(String text, MatchFlags flags)</b></li>
<li><div class="fn"/><b>void hidePopup()</b></li>
<li><div class="fn"/><b>void insertItem(int index, QIcon icon, String text, Object userData)</b></li>
<li><div class="fn"/><b>void insertItems(int index, List texts)</b></li>
<li><div class="fn"/><b>void insertSeparator(int index)</b></li>
<li><div class="fn"/><b>Object itemData(int index, int role)</b></li>
<li><div class="fn"/><b>QAbstractItemDelegate itemDelegate()</b></li>
<li><div class="fn"/><b>QIcon itemIcon(int index)</b></li>
<li><div class="fn"/><b>String itemText(int index)</b></li>
<li><div class="fn"/><b>QLineEdit lineEdit()</b></li>
<li><div class="fn"/><b>QSize minimumSizeHint()</b></li>
<li><div class="fn"/><b>QAbstractItemModel model()</b></li>
<li><div class="fn"/><b>void removeItem(int index)</b></li>
<li><div class="fn"/><b>QModelIndex rootModelIndex()</b></li>
<li><div class="fn"/><b>void setCompleter(QCompleter c)</b></li>
<li><div class="fn"/><b>void setItemData(int index, Object value, int role)</b></li>
<li><div class="fn"/><b>void setItemDelegate(QAbstractItemDelegate delegate)</b></li>
<li><div class="fn"/><b>void setItemIcon(int index, QIcon icon)</b></li>
<li><div class="fn"/><b>void setItemText(int index, String text)</b></li>
<li><div class="fn"/><b>void setLineEdit(QLineEdit edit)</b></li>
<li><div class="fn"/><b>void setModel(QAbstractItemModel model)</b></li>
<li><div class="fn"/><b>void setRootModelIndex(QModelIndex index)</b></li>
<li><div class="fn"/><b>void setValidator(QValidator v)</b></li>
<li><div class="fn"/><b>void setView(QAbstractItemView itemView)</b></li>
<li><div class="fn"/><b>void showPopup()</b></li>
<li><div class="fn"/><b>QSize sizeHint()</b></li>
<li><div class="fn"/><b>QValidator validator()</b></li>
<li><div class="fn"/><b>QAbstractItemView view()</b></li>
</ul>
<h3>Instance Properties</h3>
<p>QComboBox objects inherit properties from the QComboBox prototype object and also have the following properties.</p>
<ul>
<li><div class="fn"/><b>editable</b></li>
<li><div class="fn"/><b>count</b></li>
<li><div class="fn"/><b>currentText</b></li>
<li><div class="fn"/><b>currentIndex</b></li>
<li><div class="fn"/><b>currentData</b></li>
<li><div class="fn"/><b>maxVisibleItems</b></li>
<li><div class="fn"/><b>maxCount</b></li>
<li><div class="fn"/><b>insertPolicy</b></li>
<li><div class="fn"/><b>sizeAdjustPolicy</b></li>
<li><div class="fn"/><b>minimumContentsLength</b></li>
<li><div class="fn"/><b>iconSize</b></li>
<li><div class="fn"/><b>autoCompletion</b></li>
<li><div class="fn"/><b>autoCompletionCaseSensitivity</b></li>
<li><div class="fn"/><b>duplicatesEnabled</b></li>
<li><div class="fn"/><b>frame</b></li>
<li><div class="fn"/><b>modelColumn</b></li>
</ul>
</body>
</html>
